﻿using SuYuanSystem.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SuYuanSystem.Domain
{
    /// <summary>
    /// 县区表
    /// </summary>
    public class County : BaseClass
    {
        /// <summary>
        /// 县区编号
        /// </summary>
        [Key]
        public int CountyId { get; set; }
        /// <summary>
        /// 县区名称
        /// </summary>
        [StringLength(50)]
        public string CountyName { get; set; }
        /// <summary>
        /// 市级编号
        /// </summary>
        public int CityId { get; set; }
    }
}
